home *** CD-ROM | disk | FTP | other *** search
/ The 640 MEG Shareware Studio 2 / The 640 Meg Shareware Studio CD-ROM Volume II (Data Express)(1993).ISO / windows / winsock.zip / WINSOCK.DEF < prev    next >
Text File  |  1992-06-11  |  2KB  |  82 lines

  1. ;
  2. ;      File: winsock.def
  3. ;    System: MS-Windows 3.x
  4. ;      Summary: Module definition file for Windows Sockets DLL.
  5. ;
  6.  
  7. LIBRARY        WINSOCK        ; Application's module name
  8.  
  9. DESCRIPTION    'BSD Socket API for Windows'
  10.  
  11. EXETYPE        WINDOWS        ; required for all windows applications
  12.  
  13. STUB        'WINSTUB.EXE'    ; generates error message if application
  14.                 ; is run without Windows
  15.  
  16. ;CODE can be FIXED in memory because of potential upcalls
  17. CODE        PRELOAD        FIXED
  18.  
  19. ;DATA must be SINGLE and at a FIXED location since this is a DLL
  20. DATA        PRELOAD        FIXED        SINGLE
  21.  
  22. HEAPSIZE    1024
  23. STACKSIZE    16384
  24.  
  25. ; All functions that will be called by any Windows routine
  26. ; must be exported
  27.  
  28. EXPORTS
  29.     accept                @1
  30.     bind                @2
  31.     closesocket            @3
  32.     connect                @4
  33.     getpeername            @5
  34.     getsockname            @6
  35.     getsockopt            @7
  36.     htonl                @8
  37.     htons                @9
  38.     inet_addr            @10
  39.     inet_ntoa            @11
  40.     ioctlsocket            @12
  41.     listen                @13
  42.     ntohl                @14
  43.     ntohs                @15
  44.     recv                @16
  45.     recvfrom            @17
  46.     select                @18
  47.     send                @19
  48.     sendto                @20
  49.     setsockopt            @21
  50.     shutdown            @22
  51.     socket                @23
  52.  
  53.     gethostbyaddr            @51
  54.     gethostbyname            @52
  55.     getprotobyname            @53
  56.     getprotobynumber        @54
  57.     getservbyname            @55
  58.     getservbyport            @56
  59.  
  60.     WSAAsyncSelect            @101
  61.     WSAAsyncGetHostByAddr        @102
  62.     WSAAsyncGetHostByName        @103
  63.     WSAAsyncGetProtoByNumber    @104
  64.     WSAAsyncGetProtoByName        @105
  65.     WSAAsyncGetServByPort        @106
  66.     WSAAsyncGetServByName        @107
  67.     WSACancelAsyncRequest        @108
  68.     WSASetBlockingHook        @109
  69.     WSAUnhookBlockingHook        @110
  70.     WSAGetLastError            @111
  71.     WSASetLastError            @112
  72.     WSACancelBlockingCall        @113
  73.     WSAIsBlocking            @114
  74.     WSAStartup            @115
  75.     WSACleanup            @116
  76.  
  77.     __WSAFDIsSet            @151
  78.  
  79.     WEP                @500    RESIDENTNAME
  80.  
  81. ;eof
  82.